package com.weixin.paleituo.fragment;

import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.View;

import com.weixin.paleituo.R;
import com.weixin.paleituo.adapter.FloorHomeRecyclerViewAdapter;
import com.weixin.paleituo.base.BaseFragment;
import com.weixin.paleituo.util.UIUtils;

/**
 * Author yichao
 * Time  2017/12/18 15:25
 * Dest  全名经纪人分享
 */

public class BrokerageSharFragment extends BaseFragment {

    private RecyclerView mRecyclerView;
    private FloorHomeRecyclerViewAdapter mAdapter;

    @Override
    public View initView(Context context) {
      View contentView=  UIUtils.inflate(context, R.layout.fragment_brokerage_share);
        mRecyclerView = contentView.findViewById(R.id.recycle_share_fragment_brokerage_share);
        return contentView;
    }

    @Override
    protected void initData() {
        super.initData();

       /* mAdapter = new FloorHomeRecyclerViewAdapter(mContext, dataBeans);
        //设置布局管理器
        mRecyclerView.setLayoutManager(new LinearLayoutManager(mContext));
        //设置adapter
        mRecyclerView.setAdapter(mAdapter);
        //设置Item增加、移除动画
        mRecyclerView.setItemAnimator(new DefaultItemAnimator());
        //添加分割线
        mRecyclerView.addItemDecoration(new DividerItemDecoration(
                mContext, DividerItemDecoration.VERTICAL));*/
    }
}
